home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.2 for Intel / NeXTSTEP 3.2 for Intel.iso / NextLibrary / Documentation / Sybase / DBLIB / Section2 / dbtabbrowse.nr < prev    next >
Encoding:
Text File  |  1993-04-22  |  1.5 KB  |  56 lines

  1. .Na "dbtabbrowse"
  2. .mc |
  3. .Aa
  4. .Fu
  5. Determine whether the specified table is updatable via the
  6. \*L browse-mode facilities.
  7. .Ih "table, determining whether it is updatable in browse mode"
  8. .Ih "browsable table, determining"
  9. .Ih "table, browsable"
  10. .Sy
  11. .Sf "DBBOOL dbtabbrowse(dbproc, tabnum)"
  12. .Sp "DBPROCESS" "*dbproc"
  13. .Sp "int" "tabnum"
  14. .Co
  15. .Bl
  16. \f2dbtabbrowse()\f1 is one of the \*L browse mode routines.
  17. See the Introduction for a detailed discussion of browse mode.
  18. .Bl
  19. \f2dbtabbrowse()\f1 provides a way to identify browsable tables.
  20. It is useful when examining ad hoc queries prior to performing
  21. browse mode updates based on them.
  22. If the query has been hardcoded into the program, this routine is obviously unnecessary.
  23. .Bl
  24. For a table to be considered ``browsable,'' it must have a unique index
  25. and a timestamp column.
  26. .Bl
  27. The application can call
  28. \f2dbtabbrowse()\f1 any time after \f2dbresults()\f1.
  29. .Bl
  30. Example 7 in the \f2\*L Reference Supplement\f1 contains a call to \f2dbtabbrowse()\f1.
  31. .Bz
  32. .Pa
  33. .Pi dbproc
  34. A pointer to the DBPROCESS structure that provides the connection
  35. for a particular front-end/\*S process.  It contains all the
  36. information that \*L uses to manage communications and data between the
  37. front end and \*S.
  38. .Pi tabnum 
  39. The number of the table of interest, as specified in the SELECT statement's FROM clause.
  40. Table numbers start at 1.
  41. .in -.375i
  42. .Re
  43. .br
  44. TRUE or FALSE. 
  45. .Sa
  46. dbcolbrowse,
  47. dbcolsource,
  48. dbqual,
  49. dbtabcount,
  50. dbtabname,
  51. dbtabsource,
  52. dbtsnewlen,
  53. dbtsnewval,
  54. dbtsput
  55. .mc
  56.